package pr.vodafone.dao.dto;

import java.util.ArrayList;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "terminalGroup")
public class Terminales {
	
	private ArrayList<Terminal> terminalList;
    	
	@XmlElementWrapper(name = "terminales")
	// XmlElement sets the name of the entities
	@XmlElement(name = "terminal")
	public void setTerminalList(ArrayList<Terminal> terminalList) {
		this.terminalList = terminalList;
	}
	public ArrayList<Terminal> getTerminalList() {
		return terminalList;
	}
	
}
